import request from '@/utils/request'

export const register = (data) => {
  return request.post('/h5/user/register', data)
}
export const login = (data) => {
  return request.post('/h5/user/login', data)
}

export const getUserInfo = () => request.get('/h5/user/currentUser')
